package com.ebupt.migu.music.autoTri.Entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class PopupLog implements Serializable {

    private	String	f_day;
    private	String	procid;
    private	String	msisdn;
    private	String	user_name;
    private	String	u_id;
    private	String	imei;
    private	String	imsi;
    private	String	ip;
    private	String	u_a;
    private	String	user_agent;
    private	String	client_version;
    private	String	channelno;
    private	String	childchannelno;
    private	String	net_type;
    private	String	net_standard;
    private	String	idfa;
    private	String	os;
    private	String	brand;
    private	String	mac;
    private	String	location_data;
    private	String	ad_code;
    private	String	city_code;
    private	String	idfa_ios;
    private	String	event_type;
    private	String	action_url;
    private	String	page_key;
    private	String	activity_id;
    private	String	dialog_type;
    private	String	show_type;

    public PopupLog(String str){
        String[] arr = str.split("\\|\\^\\|", -1);
        this.show_type = str.endsWith("|^|") ? "" : arr[28];
        this.f_day = arr[0];
        this.procid = arr[1];
        this.msisdn = arr[2];
        this.user_name = arr[3];
        this.u_id = arr[4];
        this.imei = arr[5];
        this.imsi = arr[6];
        this.ip = arr[7];
        this.u_a = arr[8];
        this.user_agent = arr[9];
        this.client_version = arr[10];
        this.channelno = arr[11];
        this.childchannelno = arr[12];
        this.net_type = arr[13];
        this.net_standard = arr[14];
        this.idfa = arr[15];
        this.os = arr[16];
        this.brand = arr[17];
        this.mac = arr[18];
        this.location_data = arr[19];
        this.ad_code = arr[20];
        this.city_code = arr[21];
        this.idfa_ios = arr[22];
        this.event_type = arr[23];
        this.action_url = arr[24];
        this.page_key = arr[25];
        this.activity_id = arr[26];
        this.dialog_type = arr[27];
    }
}
